package com.chao.gateway.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Luck Chao
 * @Date: 2021/12/07
 */
@Slf4j
@RequestMapping
@RestController
public class WebController {

    @GetMapping(value = "/index")
    public String index() {
        log.info(">>>>>>>>>>>>>{} receive msg >>>>>>>>>>>>>", "gatway");
        return "Hello World !!";
    }


}
